/*
 * Copyright (c) 2015 DHC Corporation.
 */
package cn.com.dhc.danlu.util;

/**
 * 常量
 *
 * @author MuWei
 * @version 1.00 2015/02/02 新建
 */
public class CommonConst {
    /**
     * 丹露
     */
    public static final String DAN_LU = "danlu";

    /**
     * 名称默认标记位#
     */
    public static final String FIRST_NAME_LETTER = "#";

    /**
     * 下拉刷新列表每次取得数据数量
     */
    public static final int LIST_NUM = 20;

    /**
     * 密码最大长度
     */
    public static final int PASSWORD_MAX_LENGTH = 16;
    /**
     * 未接收
     */
    public static final int SELLER_ORDER_STATUS_NOT_RECEIVE = 0;
    /**
     * 已接收
     */
    public static final int SELLER_ORDER_STATUS_HAD_RECEIVE = 1;

    /** 订单状态·卖家 */
    /**
     * 已出库
     */
    public static final int SELLER_ORDER_STATUS_CARGO = 2;
    /**
     * 配送完成
     */
    public static final int SELLER_ORDER_STATUS_DELIVERY = 3;
    /**
     * 交易完成
     */
    public static final int SELLER_ORDER_STATUS_TRADE_FINISHED = 4;
    /**
     * 退款
     */
    public static final int SELLER_ORDER_STATUS_DRAWBACK = 5;
    /**
     * 未付款
     */
    public static final int BUYER_ORDER_STATUS_NOT_PAYMENT = 0;
    /**
     * 已付款
     */
    public static final int BUYER_ORDER_STATUS_HAD_PAYMENT = 1;

    /** 订单状态·买家 */
    /**
     * 配送中
     */
    public static final int BUYER_ORDER_STATUS_DELIVERYING = 2;
    /**
     * 交易完成
     */
    public static final int BUYER_ORDER_STATUS_TRADE_FINISHED = 3;
    /**
     * 已退款
     */
    public static final int BUYER_ORDER_STATUS_DRAWBACK = 4;
    /**
     * 已取消
     */
    public static final int BUYER_ORDER_STATUS_CANCELED = 5;
    /**
     * 消息 相关常量
     */
    public static final String CHANNEL_ID = "CH02";
    //采购消息标签
    public static final String TOPIC_PREFIX = "PT";
    //红包消息标签
    public static final String TAG_ENVELOP = "EP";
    /**
     * 日期格式
     */
    public static String DATE_FORMAT = "yyyy-MM-dd";
    /**
     * 日期时间格式
     */
    public static String DATE_FORMAT_TIME = "yyyy-MM-dd hh:mm:ss";

    /**
     * 通信状态常量
     *
     * @author MuWei
     * @version 1.00 2015/02/06 新建
     */
    public static class Http {
        /**
         * 通信正常
         */
        public static final int HTTP_OK = 200;
        /**
         * 通信异常
         */
        public static final int HTTP_ERROR = -1;
    }

    /**
     * Intent传递Key
     *
     * @author MuWei
     * @version 1.00 2015/02/08 新建
     */
    public static class IntentKey {

        /**
         * 商品搜索 是否是全局搜索
         */
        public static final String SEARCH_RANGE_KEY = "isGlobalSearch";

        /**
         * 订单·配送中心（销售）类型
         */
        public static final String SELLER_ORDER_STATUS = "status";
        /**
         * 订单·采购中心（采购员）类型
         */
        public static final String BUYER_ORDER_STATUS = "status";
        /**
         * 订单详细·订单ID
         */
        public static final String ORDER_ID = "orderId";
        /**
         * 订单状态
         */
        public static final String ORDER_STATUS = "orderStatus";
        /**
         * 商品ID
         */
        public final static String MERCHANDISE_ID = "merchandiseId";
        /**
         * 分类葡萄酒代码
         */
        public static final String RED_WINE_CODE = "C01L0102";
        /**
         * 分类白酒代码
         */
        public static final String WINE_CODE = "C01L0101";
        /**
         * 分类茶代码
         */
        public static final String TEA_CODE = "C01T01";
        /**
         * 分类洋酒代码
         */
        public static final String FOREIGN_CODE = "C01L0103";
        /**
         * 分类啤酒代码
         */
        public static final String BEER_CODE = "C01L0104";
        /**
         * 其它代码  只用于筛选，不同于分类的“其它”类码
         */
        public static final String FILTER_OTHERS_CODE = "C01OTHER";
        /**
         * 分类饮料代码
         */
        public static final String DRINKS_CODE = "C01X01";
        /**
         * 分类副食代码
         */
        public static final String FOOD_CODE = "C01F01";


        /**
         * 分类其他饮品
         */
        public static final String OTHER_WINE_WORD = "其他饮品";
        /**
         * 分类洋酒
         */
        public static final String FOREIGN_WINE_WORD = "洋酒";
        /**
         * 分类啤酒
         */
        public static final String BEER_WORD = "啤酒";
        /**
         * 分类红酒字
         */
        public static final String RED_WINE_WORD = "葡萄酒";
        /**
         * 分类红酒产地字
         */
        public static final String RED_WINE_PLACE = "产地";
        /**
         * 分类洋酒分类字
         */
        public static final String FOREIGN_CLASSIFY = "分类";
        /**
         * 分类洋酒国家字
         */
        public static final String FOREIGN_COUNTRY = "洋酒国家";
        /**
         * 分类啤酒国家字
         */
        public static final String BEER_COUNTRY = "啤酒国家";
        /**
         * 分类啤酒类别字
         */
        public static final String BEER_CLASSIFY = "类别";
        /**
         * 分类白酒字
         */
        public static final String WINE_WORD = "白酒";
        /**
         * 分类茶字
         */
        public static final String TEA_WORD = "茶";
        /**
         * 分类茶种
         */
        public static final String TEA_SORT = "茶种";
        /**
         * 分类茶类
         */
        public static final String TEA_SEED = "茶类";
        /**
         * 分类香型
         */
        public static final String ORDOR_TYPE = "香型";
        /**
         * 分类品牌
         */
        public static final String BRAND_WORD = "品牌";
        /**
         * 分类关键字搜索商品名
         */
        public static final String GOOD_NAME = "merchandiseName";
        /**
         * 分类关键字搜索价格区间
         */
        public static final String PRICE_RANGE = "priceRange";
        /**
         * 分类关键字搜索商品类型
         */
        public static final String GOOD_TYPE = "merchandiseType";
        /**
         * 分类品牌名常量
         */
        public static final String BRAND_TYPE = "brand_type";
        /**
         * 分类品牌编码常量
         */
        public static final String BRAND_CODE = "brand_code";
        /**
         * 二级分类码常量
         */
        public static final String SECOND_CLASSIFY_CODE = "second_classify_code";
        /**
         * 分类品牌名常量
         */
        public static final String BRAND_NAME = "brand_name";
        /**
         * 分类低价常量
         */
        public static final String LOW_PRICE = "price_low";
        /**
         * 分类高价常量
         */
        public static final String HIGH_PRICE = "price_high";
        /**
         * 分类搜索关键字
         */
        public static final String KEY_WORD = "keyword";
        /**
         * 购物车选中的商品Id
         */
        public static final String MERCHANDISE_ID_ARR = "merchandise_id_arr";
        /**
         * 购物车选中的规格Id
         */
        public static final String SPECIFICATION_ID_ARR = "specification_id_arr";
        /**
         * 是否从未支付订单跳转
         */
        public static final String IS_ORDER = "is_order";
        /**
         * 支付订单号
         */
        public static final String PAYMENT_ORDER_NO = "payment_order_no";
        /**
         * 订单总额
         */
        public static final String TOTAL_MONEY = "total_money";
        /**
         * 支付方式常量
         */
        public static final String PAY_ID = "payway_id";
        /**
         * 发票常量
         */
        public static final String INVOICE_ID = "invoice_id";
        /**
         * 发票抬头常量
         */
        public static final String INVOICE_NAME = "invoice_name";
        /**
         * 购物车结算传递模型
         */
        public static final String SHOPPING_CART_COMMIT_MODEL = "shopping_cart_commit_model";
        /**
         * 购物车结算传递模型-促销选择模型
         */
        public static final String CART_COMMIT_PROMOTION_MODEL = "cart_commit_promotion_model";
        /**
         * 购物车结算传递模型 -满足促销模型
         */
        public static final String CART_COMMIT_PROMOTION_VALUE_MODEL = "cart_commit_promotion_value_model";
        /**
         * 地址ID
         */
        public static final String ADDRESS_ID = "address_id";
        /**
         * 选中的地址模型
         */
        public static final String ADDRESS_MODEL = "address_model";
        /**
         * 茶类常量
         */
        public static final String TEA_SEED_CONSTANT = "teaSeed";
        /**
         * 茶种常量
         */
        public static final String TEA_SORT_CONSTANT = "teaSort";
        /**
         * 茶品牌常量
         */
        public static final String TEA_BRAND_CONSTANT = "teaBrand";
        /**
         * 香型常量
         */
        public static final String ORDOR_CONSTANT = "ordorType";
        /**
         * 葡萄酒常量
         */
        public static final String RED_WINE_CONSTANT = "redWine";
        /**
         * 洋酒颜色常量
         */
        public static final String FOREIGN_CLASSIFY_CONSTANT = "foreignColor";
        /**
         * 洋酒国家常量
         */
        public static final String FOREIGN_COUNTRY_CONSTANT = "foreignCountry";
        /**
         * 啤酒国家常量
         */
        public static final String BEER_COUNTRY_CONSTANT = "beerCountry";
        /**
         * 饮料类别常量
         */
        public static final String DRINKS_CLASSIFY_CONSTANT = "drinksClassify";
        /**
         * 粮油类别常量
         */
        public static final String GRAIN_CLASSIFY_CONSTANT = "grainClassify";
        /**
         * 副食类别常量
         */
        public static final String NON_STAPLE_CLASSIFY_CONSTANT = "nonStapleClassify";
        /**
         * 日化用品类别常量
         */
        public static final String DAILY_USED_CLASSIFY_CONSTANT = "dailyUsedClassify";
        /**
         * 五金类别常量
         */
        public static final String HARDWARE_CLASSIFY_CONSTANT = "hardwareClassify";
        /**
         * 家电类别常量
         */
        public static final String ELECTRIC_CLASSIFY_CONSTANT = "electricClassify";
        /**
         * 其它类别常量
         */
        public static final String OTHERS_CLASSIFY_CONSTANT = "othersClassify";
        /**
         * 啤酒类别常量
         */
        public static final String BEER_CLASSIFY_CONSTANT = "beerClassify";
        /**
         * 请求code 0价格
         */
        public static final int PRICE_REQUEST_CODE = 0;
        /**
         * 请求code 1品牌
         */
        public static final int BRAND_REQUEST_CODE = 1;
        /**
         * 请求code 2香型
         */
        public static final int ORDOR_REQUEST_CODE = 2;
        /**
         * 请求code 3茶类
         */
        public static final int TEA_SEED_REQUEST_CODE = 3;
        /**
         * 请求code 4茶种
         */
        public static final int TEA_SORT_REQUEST_CODE = 4;
        /**
         * 请求code 5红酒
         */
        public static final int RED_WINE_REQUEST_CODE = 5;
        /**
         * 请求code 6洋酒颜色
         */
        public static final int FOREIGN_CLASSIFY_REQUEST_CODE = 6;
        /**
         * 请求code 7洋酒国家
         */
        public static final int FOREIGN_COUNTRY_REQUEST_CODE = 7;
        /**
         * 请求code 8啤酒国家
         */
        public static final int BEER_COUNTRY_REQUEST_CODE = 8;
        /**
         * 请求code 9啤酒分类
         */
        public static final int BEER_CLASSIFY_REQUEST_CODE = 9;
        /**
         * 请求code 10饮料分类
         */
        public static final int DRINKS_CLASSIFY_REQUEST_CODE = 10;
        /**
         * 请求code 11粮油分类
         */
        public static final int GRAIN_CLASSIFY_REQUEST_CODE = 11;
        /**
         * 请求code  12副食分类
         */
        public static final int NON_STAPLE_CLASSIFY_REQUEST_CODE = 12;
        /**
         * 请求code  13其他分类
         */
        public static final int OTHERS_CLASSIFY_REQUEST_CODE = 13;
        /**
         * 请求code  14日化用品分类
         */
        public static final int DAILY_USED_CLASSIFY_REQUEST_CODE = 14;
        /**
         * 请求code  15五金分类
         */
        public static final int HARDWARE_CLASSIFY_REQUEST_CODE = 15;
        /**
         * 请求code  16家电分类
         */
        public static final int ELECTRIC_CLASSIFY_REQUEST_CODE = 16;
        /**
         * 请求code 我的丹露跳转经销商买家注册界面码
         */
        public static final String MYSELF_BUYER_REGISTER_CODE = "buyerRegister";
    }

    /**
     * 登录用户角色
     *
     * @author MuWei
     * @version 1.00 2015/02/08 新建
     */
    public static class LoginCustomerRole {

        /**
         * 配送商(管理员)
         */
        public static final String B_R_ADMI = "B_R_ADMI";
        /**
         * 配送商(采购员)
         */
        public static final String B_R_PURC = "B_R_PURC";
        /**
         * 配送商(销售员)
         */
        public static final String B_R_SALE = "B_R_SALE";
        /**
         * 终端店
         */
        public static final String T_ROLE = "T_ROLE";

        /**
         * 配送商(管理员)
         */
        public static final int ROLE_ADMI = 0;
        /**
         * 配送商(采购员)
         */
        public static final int ROLE_PURC = 1;
        /**
         * 配送商(销售员)
         */
        public static final int ROLE_SALE = 2;
        /**
         * 终端店
         */
        public static final int ROLE_TERMINAL = 3;
    }

    /**
     * 购物车用常量
     */
    public static class ShoppingCarModel {

        /**
         * 是否支持货到付款 0 支持
         */
        public static final String IS_SUPPLY_COD_PAYMENT_0 = "0";
        /**
         * 是否支持货到付款 1不支持
         */
        public static final String IS_SUPPLY_COD_PAYMENT_1 = "1";

        /**
         * 是否支持易极付 0 支持
         */
        public static final String IS_SUPPLY_YJF_PAYMENT_0 = "0";

        /**
         * 是否支持在线支付
         */
        public static final String IS_ONLINE_PAY_0 = "0";

        /**
         * 是否支持易极付 1不支持
         */
        public static final String IS_SUPPLY_YJF_PAYMENT_1 = "1";

        /**
         * 是否支持开增值税发票 0支持
         */
        public static final String IS_SUPPLY_INVOICE_0 = "0";
        /**
         * 是否支持开增值税发票 1不支持
         */
        public static final String IS_SUPPLY_INVOICE_1 = "1";
        /**
         * 商品状态 0 正常
         */
        public static final String GOODS_STATUS_FLG_0 = "0";
        /**
         * 商品状态 1 暂时缺货
         */
        public static final String GOODS_STATUS_FLG_1 = "1";
        /**
         * 商品状态 2 已下架
         */
        public static final String GOODS_STATUS_FLG_2 = "2";
        /**
         * 商品状态 3 已失效
         */
        public static final String GOODS_STATUS_FLG_3 = "3";
        /**
         * 商品状态 4 已删除
         */
        public static final String GOODS_STATUS_FLG_4 = "4";
        /**
         * 商品无售卖权
         */
        public static final String ADD_SHOPPINGCAR_ERROR_1 = "1";
        /**
         * 商品种类超过限制
         */
        public static final String ADD_SHOPPINGCAR_ERROR_2 = "2";
        /**
         * 商品库存不足
         */
        public static final String ADD_SHOPPINGCAR_ERROR_3 = "3";
        /**
         * 商品未上架（包括下架、锁定、删除）
         */
        public static final String ADD_SHOPPINGCAR_ERROR_4 = "4";
        /**
         * 小于最小起售量
         */
        public static final String REACH_MINI_STARTSALE_QUANTITY_0 = "0";
        /**
         * 未达到最小起售量
         */
        public static final String REACH_MINI_STARTSALE_QUANTITY_1 = "1";

    }

    /**
     * 促销常量
     */
    public static class PromotionConst {
        /**
         * 满降类型-满额减
         */
        public static final String FULL_REDUCTION_TYPE_1 = "1";
        /**
         * 满降类型-满量减
         */
        public static final String FULL_REDUCTION_TYPE_2 = "2";

        /**
         * 循环叠加-未叠加
         */
        public static final String FULL_IS_ADD_0 = "0";
        /**
         * 循环叠加-叠加
         */
        public static final String FULL_IS_ADD_1 = "1";

        /**
         * 满赠类型-满额赠
         */
        public static final String FULL_PRESENTATION_TYPE_1 = "1";
        /**
         * 满赠类型-满量赠
         */
        public static final String FULL_PRESENTATION_TYPE_2 = "2";

        /**
         * 促销类型--满赠
         */
        public static final String PROMOTION_TYPE_0 = "0";
        /**
         * 促销类型--满减
         */
        public static final String PROMOTION_TYPE_1 = "1";

        /**
         * 满减类型--减单价
         */
        public static final String REDUCTION_TYPE_0 = "0";
        /**
         * 满减类型--减总额
         */
        public static final String REDUCTION_TYPE_1 = "1";

        /**
         * 修改促销选择返回类型--满赠
         */
        public static final String PROMOTION_CHANGE_TYPE_0 = "0";
        /**
         * 修改促销选择返回类型--满减单
         */
        public static final String PROMOTION_CHANGE_TYPE_1 = "1";
        /**
         * 修改促销选择返回类型--满减总
         */
        public static final String PROMOTION_CHANGE_TYPE_2 = "2";
        /**
         * 修改促销选择返回类型--限购
         */
        public static final String PROMOTION_CHANGE_TYPE_4 = "4";
        /**
         * 修改指定商品在购物车中的数量--使用促销参数
         */
        public static final String USE_PROMOTION_TYPE_0 = "0";
        /**
         * 修改指定商品在购物车中的数量--不使用促销参数
         */
        public static final String USE_PROMOTION_TYPE_1 = "1";
        /**
         * 是否是默认促销--是
         */
        public static final String IS_DEFAULT_PROMOTION_0 = "0";
        /**
         * 是否是默认促销-否
         */
        public static final String IS_DEFAULT_PROMOTION_1 = "1";
        /**
         * 是否满足促销 0-不满足促销
         */
        public static final String IS_PROMOTION_0 = "0";
        /**
         * 是否满足促销 1-满足促销
         */
        public static final String IS_PROMOTION_1 = "1";

        /**
         * 是否使用优惠券 0使用
         */
        public static final String IS_USE_COUPON_0 = "0";
        /**
         * 是否使用优惠券 1不使用
         */
        public static final String IS_USE_COUPON_1 = "1";

    }

    /**
     * webservices接口通用常量定义
     */
    public static class WebservicesConst {

        /**
         * 服务器接口调用失败-token失效
         */
        public static final int CODE_TOKEN = 100;
        /**
         * 服务器接口调用成功
         */
        public static final int CODE_SUCCESS = 200;
        /**
         * 服务器接口调用失败-没有权限
         */
        public static final int CODE_NO_PERMIT = 300;
        /**
         * 服务器接口调用失败-非法的参数
         */
        public static final int CODE_VALID_PARAM = 400;
        /**
         * 服务器异常
         */
        public static final int CODE_ERROR = 500;
        /**
         * session失效
         */
        public static final int CODE_SESSIOIN_ERROR = 600;

        /**
         * 接口业务执行成功
         */
        public static final String BUSINESS_SUCCESS_YES = "0";
        /**
         * 接口业务执行失败
         */
        public static final String BUSINESS_SUCCESS_NO = "1";

        /**
         * 登录返回验证--成功
         */
        public static final String LOGIN_RESPONSE_SUCCESS_0 = "0";
        /**
         * 登录返回验证--用户不存在
         */
        public static final String LOGIN_RESPONSE_SUCCESS_2 = "2";
        /**
         * 登录返回验证--终端店正在审核中
         */
        public static final String LOGIN_RESPONSE_SUCCESS_3 = "3";
        /**
         * 登录返回验证--用户名密码错误
         */
        public static final String LOGIN_RESPONSE_SUCCESS_4 = "4";
        /**
         * 登录返回验证--帐号所在省份暂时无法登录
         */
        public static final String LOGIN_RESPONSE_SUCCESS_5 = "5";
    }

    /**
     * 发票常量
     */
    public static class InvoiceConst {
        /**
         * Tab id 不开发票
         */
        public static final int ID_NO_INVOICE = 1;
        /**
         * Tab id 普通发票
         */
        public static final int ID_NORMAL_INVOICE = 2;
        /**
         * Tab id 增值税发票
         */
        public static final int ID_ADD_INVOICE = 3;
        /**
         * 在线支付常量
         */
        public static final int ONLINE = 1;
        /**
         * 在线+货到支付常量
         */
        public static final int ONLINE_ARRIVE = 2;
        /**
         * 货到付款支付常量
         */
        public static final int ARRIVE = 3;
        /**
         * 公司转账支付常量
         */
        public static final int COMPANY = 4;
        /**
         * 需要发票
         */
        public static final String NEED_INVOICE_YES = "0";
        /**
         * 不需要发票
         */
        public static final String NEED_INVOICE_NO = "1";
        /**
         * 默认普通发票
         */
        public static final String INVOICE_IS_DEFAU = "0";
        /**
         * 非 默认普通发票
         */
        public static final String INVOICE_NO_DEFAU = "1";

        /**
         * 发票返回验证--成功
         */
        public static final String INVOICE_RESPONSE_SUCCESS_0 = "0";
        /**
         * 发票返回验证--
         */
        public static final String INVOICE_RESPONSE_SUCCESS_1 = "1";
        /**
         * 发票返回验证--
         */
        public static final String INVOICE_RESPONSE_SUCCESS_2 = "2";
        /**
         * 发票返回验证--
         */
        public static final String INVOICE_RESPONSE_SUCCESS_3 = "3";
        /**
         * 发票返回验证--
         */
        public static final String INVOICE_RESPONSE_SUCCESS_4 = "4";
        /**
         * 发票返回验证--
         */
        public static final String INVOICE_RESPONSE_SUCCESS_5 = "5";

    }

    /**
     * 提交订单常量
     */
    public static class OrderConfirmConst {
        /**
         * 0跳转收货地址请求码
         */
        public static final int ADDRESS_REQUEST_CODE = 0;
        /**
         * 1跳转发票请求码
         */
        public static final int INVOICE_REQUEST_CODE = 1;
        /**
         * 2跳转支付方式请求码
         */
        public static final int PAYMENT_REQUEST_CODE = 2;
        /**
         * 3跳转优惠券请求码
         */
        public static final int COUPON_REQUEST_CODE = 3;
    }

    /**
     * 支付方式
     */
    public static class PaymentType {
        /**
         * 在线支付方式
         */
        public static final String PAY_TYPE_ON_LINE = "1";
        /**
         * 货到付款方式
         */
        public static final String PAY_TYPE_COD = "2";
        /**
         * 在线+货到方式
         */
        public static final String PAY_TYPE_ALL = "12";
    }

    /**
     * 收藏
     */
    public static class Favorite {
        /**
         * 收藏成功
         */
        public static final String FAVORITE_SUCCESS_0 = "0";
        /**
         * 收藏失败
         */
        public static final String FAVORITE_SUCCESS_1 = "1";
        /**
         * 重复收藏
         */
        public static final String FAVORITE_SUCCESS_2 = "2";
    }

    /**
     * 我的订单常量
     */
    public static class MyOrderConst {
        /**
         * 0全部订单
         */
        public static final String ALL_ORDER = "0";
        /**
         * 1待付款
         */
        public static final String WAIT_PAY = "C011";
        /**
         * 2待发货
         */
        public static final String WAIT_SEND = "C020";
        /**
         * 3待收货
         */
        public static final String WAIT_RECEIVE = "C017";
        /**
         * 4交易完成
         */
        public static final String DEAL_COMPLETE = "C019";
        /**
         * 5已取消
         */
        public static final String ORDER_CANCLE = "C012";
        /**
         * 6已退款
         */
        public static final String HAS_ORDER_REFUND = "C015";
        /**
         * 支付中
         */
        public static final String _ORDER_PAYING = "C025";
        /**
         * 子订单号常量
         */
        public static final String SMALL_ORDER = "small_order";
        /**
         * 子订单主键常量
         */
        public static final String SMALL_ORDER_P_KEY = "small_order_P_key";
        /**
         * 子订单商品id
         */
        public static final String SMALL_ORDER_SHOP_NUM = "small_order_shop_num";
        /**
         * 在线支付常量
         */
        public static final String ONLINE = "1";
        /**
         * 货到付款支付常量
         */
        public static final String ARRIVE = "2";
        /**
         * 公司转账支付常量
         */
        public static final String COMPANY = "3";
        /**
         * 在线+货到支付常量
         */
        public static final String ONLINE_ARRIVE = "12";

        /**
         * 订单按钮状态 0没有按钮
         */
        public static final String BTN_NO = "0";
        /**
         * 订单按钮状态 1有按钮
         */
        public static final String BTN_HAS = "1";
        /**
         * 订单按钮状态 0没有取消按钮
         */
        public static final String BTN_ORDER_NO_CANCLE = "0";
        /**
         * 订单按钮状态 1有在线支付未付款订单取消按钮
         */
        public static final String BTN_ORDER_CANCLE = "1";
        /**
         * 订单按钮状态 2有货到付款未发货订单取消按钮
         */
        public static final String BTN_ORDER_ARRIVE_NO_SEND_CANCLE = "2";
        /**
         * 订单按钮状态 3有货到付款已发货订单取消按钮
         */
        public static final String BTN_ORDER_ARRIVE_HAS_SEND_CANCLE = "3";
        /**
         * 订单按钮状态 4有交易取消中标签(交易取消中)
         */
        public static final String ORDER_DEAL_CANCLING = "4";
        /**
         * 订单按钮状态 5有在线支付已付款订单/待收货订单取消按钮
         */
        public static final String BTN_ORDER_ONLINE_HAS_PAY_CANCLE = "5";
        /**
         * 订单取消交易中常量
         */
        public static final String ORDER_DEAL_CANCLING_CONSTANT = "交易取消中";
        /**
         * 卖家是否有易极付账户常量
         */
        public static final String IS_YIJIFU_ACCOUNT = "isYijipayAccount";
        /**
         * 卖家是没有易极付账户常量
         */
        public static final String NO_YIJIFU_ACCOUNT = "1";
        /**
         * 卖家是有易极付账户常量
         */
        public static final String HAS_YIJIFU_ACCOUNT = "0";

    }

    /**
     * 订单详情常量
     */
    public static class MyOrderDetailConst {
        /**
         * 买家留言常量
         */
        public static final String ORDER_DETAIL = "orderDetail";
        /**
         * 发票类型
         */
        public static final String ORDER_SORT = "orderSort";
        /**
         * 单位名称
         */
        public static final String COMPANY_NAME = "companyName";
        /**
         * 纳税人识别号
         */
        public static final String PERSON_NUM = "personNum";
        /**
         * 普通发票
         */
        public static final String NORMAL_INVOICE = "N011";
        /**
         * 增值税发票
         */
        public static final String ADD_INVOICE = "N012";

        /**
         * 订单详情返回验证--成功
         */
        public static final String ORDER_RESPONSE_SUCCESS_0 = "0";
        /**
         * 订单详情返回验证--重复提交订单
         */
        public static final String ORDER_RESPONSE_SUCCESS_1 = "1";
        /**
         * 订单详情返回验证--校验失败
         */
        public static final String ORDER_RESPONSE_SUCCESS_2 = "2";
        /**
         * 订单详情返回验证--下单失败
         */
        public static final String ORDER_RESPONSE_SUCCESS_3 = "3";


        /**
         * 订单改价 0没有订单改价
         */
        public static final String ORDER_PRICE_ADJUSTMENT_0 = "0";

        /**
         * 是否使用优惠券---使用
         */
        public static final String ORDER_IS_USE_COUPON_0 = "0";
        /**
         * 是否使用优惠券---未使用
         */
        public static final String ORDER_IS_USE_COUPON_1 = "1";

    }

    /**
     * 注册常量
     */
    public static class RegisterConst {
        /**
         * 后台校验--用户名错误
         */
        public static final String REGISTER_RESPONSE_T_NAME = "terminalLoginName";
        /**
         * 后台校验--密码名错误
         */
        public static final String REGISTER_RESPONSE_PASS_WORD = "password";
        /**
         * 后台校验--手机号错误
         */
        public static final String REGISTER_RESPONSE_TEL = "registerTel";
        /**
         * 后台校验--验证码错误
         */
        public static final String REGISTER_RESPONSE_VERFICATION_CODE = "verificationCode";
        /**
         * 后台校验--邀请码错误
         */
        public static final String REGISTER_RESPONSE_INVATI_CODE = "invitationCode";
        /**
         * 后台校验--终端店名称错误
         */
        public static final String REGISTER_RESPONSE_T_FULL_NAME = "terminalFullName";
        /**
         * 后台校验--营业执照号错误
         */
        public static final String REGISTER_RESPONSE_BUSS_CODE = "businessLicenseCode";
        /**
         * 后台校验--店铺类型错误
         */
        public static final String REGISTER_RESPONSE_STORE_TYPE = "storeTypeCode";
        /**
         * 后台校验--终端店区域省份错误
         */
        public static final String REGISTER_RESPONSE_PRO_CODE = "terminalAreaProvinceCode";
        /**
         * 后台校验--终端店区域市错误
         */
        public static final String REGISTER_RESPONSE_CITY_CODE = "terminalAreaCityCode";
        /**
         * 后台校验--终端店区域县错误
         */
        public static final String REGISTER_RESPONSE_DIS_CODE = "terminalAreaDistrictCode";
        /**
         * 后台校验--详细地址错误
         */
        public static final String REGISTER_RESPONSE_T_ADDRESS = "terminalAddress";
        public static final String REGISTER_RESPONSE_VAL_CODE_ERROR = "authCodeId";
        /**
         * 提交注册返回验证--成功
         */
        public static final String REGISTER_RESPONSE_SUCCESS_0 = "0";
        /**
         * 提交注册返回验证--失败
         */
        public static final String REGISTER_RESPONSE_SUCCESS_1 = "1";
        /**
         * 提交注册返回验证--重复提交
         */
        public static final String REGISTER_RESPONSE_SUCCESS_2 = "2";
        /**
         * 发送手机验证码--成功
         */
        public static final String REGISTER_SEND_VER_CODE_SUCCESS_0 = "0";
        /**
         * 发送手机验证码--手机格式错误
         */
        public static final String REGISTER_SEND_VER_CODE_SUCCESS_1 = "1";
        /**
         * 发送手机验证码--间隔少于1分钟
         */
        public static final String REGISTER_SEND_VER_CODE_SUCCESS_2 = "2";
        /**
         * 发送手机验证码--发送失败
         */
        public static final String REGISTER_SEND_VER_CODE_SUCCESS_3 = "3";
        /**
         * 发送手机验证码--手机号已经注册过
         */
        public static final String REGISTER_SEND_VER_CODE_SUCCESS_4 = "4";
    }

    /**
     * 支付常量
     */
    public static class PaymentConst {
        /**
         * 获取支付号--成功
         */
        public static final String PAYMENT_NO_VER_CODE_SUCCESS_0 = "0";
        /**
         * 获取支付号--失败
         */
        public static final String PAYMENT_NO_VER_CODE_SUCCESS_1 = "1";
        /**
         * 获取支付号--未开户 需要先开户
         */
        public static final String PAYMENT_NO_VER_CODE_SUCCESS_2 = "2";
        /**
         * 服务器获取支付状态回调成功
         */
        public static final String PAYMENT_NOTIFY_STATUS_CODE_SUCCESS_0 = "0";
        /**
         * 服务器获取支付状态回调失败
         */
        public static final String PAYMENT_NOTIFY_STATUS_CODE_SUCCESS_1 = "1";
        /**
         * 获取买家易极付账户信息--成功
         */
        public static final String PAYMENT_BUYER_INFO_SUCCESS_0 = "0";
        /**
         * 获取买家易极付账户信息--未注册
         */
        public static final String PAYMENT_BUYER_INFO_FAIL_3 = "PAY_0003";

        /**
         * 支付单处理状态-未支付
         **/
        public static final String PAYMENT_ORDER_NOPAY = "00";
        /**
         * 支付单处理状态-支付中
         **/
        public static final String PAYMENT_ORDER_PAYING = "01";
        /**
         * 支付单处理状态-支付失败
         **/
        public static final String PAYMENT_ORDER_PAY_FAILURE = "02";
        /**
         * 支付单处理状态-已支付
         **/
        public static final String PAYMENT_ORDER_PAYED = "03";

        /**
         * 银联支付
         */
        public static final String PAY_WAY_YL = "00";
        /**
         * 联动优势
         */
        public static final String PAY_WAY_LDYS = "01";
        /**
         * 易极付支付
         */
        public static final String PAY_WAY_YJF = "02";

        /**
         * 支付单处理状态-支付中
         **/
        public static final String PAYMENT_ORDER_STATUS_PAYING = "P012";
    }

    /**
     * 广播常量定义
     */
    public static class BroadcastAction {
        /**
         * 获取购物车数量广播action
         */
        public static final String BROADCAST_GET_SHOPPINGCART_COUNT_ACTION = "cn.com.dhc.danlu.broadcast.action.getShoppingcartCount";
        public static final String BROADCAST_GET_SHOPPINGCART_ACTION = "cn.com.dhc.danlu.broadcast.action.getShoppingcart";
        /**
         * 易极付开户action
         */
        public static final String BROADCAST_GET_YJF_REGISTER_ACTION = "cn.com.dhc.danlu.broadcast.action.yjfRegister";
        /**
         * 易极付开户成功action
         */
        public static final String BROADCAST_GET_YJF_REGISTER_SUCESS_ACTION = "cn.com.dhc.danlu.broadcast.action.yjfRegisterSucess";
        /**
         * 易极付开户失败action
         */
        public static final String BROADCAST_GET_YJF_REGISTER_FAIL_ACTION = "cn.com.dhc.danlu.broadcast.action.yjfRegisterFail";

        /**
         * 支付成功后tab 切换action
         */
        public static final String BROADCAST_SWITCH_ALLORDER_TAB = "cn.com.dhc.danlu.broadcast.action.switchallordertab";

    }

    /***
     * 缓存常量
     */
    public static class ACacheComstants {
        /**
         * 类目
         */
        public static final String CATEGORY = "category";
        /**
         * 品牌
         */
        public static final String BRAND = "brand";
        /**
         * 属性
         */
        public static final String PROPERTY = "property";
        /**
         * 价格
         */
        public static final String PRICE = "price";
    }

    public static class PushMsgFrom {
        public static final String _FROM_MAIN_ACT = "MainMenuActivity";
        public static final String _FROM_MSGCONTAINER_ACT = "MessageContainerActivity";
        public static final String _FROM_PUSH_RECEIVER = "MiPushMsg";
    }

    /**
     * 商品快照常量
     */
    public static class SnapShotConst {
        /**
         * 跳转详情页 1可以
         */
        public static final String ORDER_DETAIL_1 = "1";
        /**
         * 跳转详情页 0可以
         */
        public static final String ORDER_DETAIL_0 = "0";
    }

    public static class CouponConst {
        /**
         * 筛选 - 升序
         */
        public static final String DEALERS_SORT_ASC = "0";
        /**
         * 筛选 - 降序
         */
        public static final String DEALERS_SORT_DESC = "1";
        /**
         * 票券 - 未使用
         */
        public static final String DEALERS_NOT_USE = "01";
        /**
         * 票券 - 已使用
         */
        public static final String DEALERS_HAS_USED = "02";
        /**
         * 票券 - 已锁定
         */
        public static final String DEALERS_IS_LOCKED = "03";
        /**
         * 票券 - 已过期
         */
        public static final String DEALERS_OUT_DATE = "04";
        /**
         * 经销商红包 - 10
         */
        public static final String DEALERS_ENVELOPE = "10";
        /**
         * 经销商优惠券 - 11
         */
        public static final String DEALERS_COUPON = "11";
        /**
         * 票券 - 领取成功
         */
        public static final String DEALERS_OBTAIN_SEUCCESS = "0";
        /**
         * 票券 - 领取失败
         */
        public static final String DEALERS_OBTAIN_FAILED = "1";
        /**
         * 票券 - 已领完
         */
        public static final String DEALERS_OBTAIN_FINISHED = "2";

        /**
         * 界面跳转 intent 的 key
         */
        public static final String DEALERS_INTENT_USE = "use";
        public static final String DEALERS_INTENT_TYPE = "type";
        public static final String DEALERS_INTENT_STATUS = "status";
    }

    /**
     * 后缀常亮
     */
    public static class Suffix {
        public static final String PNG = ".png";
    }
}